unity set material

84

unity set material -

// in the Start() method
Material yourMaterial = Resources.Load("red", typeof(Material)) as Material;

Comments

Submit
0 Comments